package site.marqstree.kotlin.provider.common


/*
 * 项目名: KotlinMall
 * 包名: site.marqstree.kotlin.provider.common
 * 文件名: ProviderConstant
 * 创建者: marqstree
 * 创建时间: 2020/2/24 9:35
 * 描述: TODO
 */
/*
    业务常量
 */
class ProviderConstant {
    companion object {

        //本地服务器地址
        const val SERVER_ADDRESS = "http://192.168.0.102:3000"

        //用户注册
        const val REGISTER_URL = "/mock/kotlin/register"
        //用户登录
        const val SIGN_IN_URL = "/mock/kotlin/sign_in"
        //忘记密码
        const val FORGET_PWD_URL = "/mock/kotlin/forget_pwd"
        //重置密码
        const val RESET_PWD_URL = "/mock/kotlin/reset_pwd"
        //编辑用户资料
        const val EDIT_USER_INFO_URL  = "/mock/kotlin/edit_user_info"

        //商品分类页
        //分类列表
        const val CATEGORY_LIST_URL = "http://192.168.0.102:3000/mock/kotlin/category_list"
        //分类明细
        const val CATEGORY_CONTENT_URL = "http://192.168.0.102:3000/mock/kotlin/category_content"
        //商品列表
        const val GOOD_LIST_BY_BRANDID_URL = "http://192.168.0.102:3000/mock/kotlin/good_list_brandid"
        const val GOOD_LIST_BY_KEYWORD_URL = "http://192.168.0.102:3000/mock/kotlin/good_list_keyword"

        //商品详情页
        const val GOOD_DETAIL_URL = "http://192.168.0.102:3000/mock/kotlin/good_detail"
        //购物车列表
        const val CART_LIST_URL = "http://192.168.0.102:3000/mock/kotlin/cart_list"
    }
}